/**
 * jims
 */
package com.jims.master.modules.drug.dao;

import com.jims.master.common.persistence.CrudDao;
import com.jims.master.common.persistence.annotation.MyBatisDao;
import com.jims.master.common.web.impl.BaseDto;
import com.jims.master.modules.drug.entity.DrugImportDetail;

import java.util.List;

/**
 * 入库记录详情DAO接口
 * @author zhuq
 * @version 2017-03-16
 */
@MyBatisDao
public interface DrugImportDetailDao extends CrudDao<DrugImportDetail> {
	public List<DrugImportDetail> findDetailsList(DrugImportDetail drugImportDetail);
    public List<BaseDto> findDetailsListPrint(DrugImportDetail drugImportDetail);
	public List<DrugImportDetail> findBymasterId(DrugImportDetail drugImportDetail);

    /**
     * 打印品种数量统计
     * @param DrugImportDetail
     * @return
     */
    public DrugImportDetail findNumByName(DrugImportDetail DrugImportDetail);
}